home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util3 / apptrshc.lha / AppTrashcan11 / Install < prev    next >
Text File  |  1995-10-28  |  2KB  |  111 lines

  1. ; AppTrashcan Installer Script
  2.  
  3. (complete 0)
  4.  
  5. (set tooltype-help
  6.    ( "If you have FTPMount installed and running,\n"
  7.    "you should select yes.\n\n"
  8.    "Selecting yes sets up the AVOID tooltype to\n"
  9.    "not attempt to empty a trashcan on the FTPMount:\n"
  10.    "disk.\n\n"
  11.    "Selecting yes does no harm if you don't have\n"
  12.    "FTPMount installed." )
  13. )
  14.  
  15. (set target
  16.    (askdir
  17.       (prompt "Where shall I put AppTrashcan?\n"
  18.               "(Put it in your WBStartUp drawer\n"
  19.               "to be run everytime you boot)" )
  20.       (help @askdir-help)
  21.       (default "SYS:WBStartUp")
  22.       (newpath)
  23.    )
  24. )
  25.  
  26. (complete 15 )
  27.  
  28. (copyfiles
  29.    (source "")
  30.    (dest target)
  31.    (choices "AppTrashcan" "AppTrashcan.info")
  32. )
  33.  
  34. (set @default-dest target)
  35.  
  36. (complete 30)
  37.  
  38. (set guidetarget
  39.    (askdir
  40.       (prompt "Where do you want to have the Guide install?")
  41.       (help @askdir-help)
  42.       (default "SYS:")
  43.       (newpath)
  44.    )
  45. )
  46.  
  47. (complete 45)
  48.  
  49. (copyfiles
  50.    (source "")
  51.    (dest guidetarget)
  52.    (choices "AppTrashcan.Guide" "AppTrashcan.Guide.info")
  53. )
  54.  
  55. (complete 60)
  56.  
  57. (set installcmds
  58.    (askbool
  59.       (prompt "Do you wish to install the CLI commands?\n")
  60.       (help @askbool-help)
  61.       (default 1)
  62.    )
  63. )
  64.  
  65. (complete 75)
  66.  
  67. (if installcmds
  68.    (
  69.       (set cmdstarget
  70.          (askdir
  71.             (prompt "Where do you want to have the CLI commands installed?")
  72.             (help @askdir-help)
  73.             (default "C:")
  74.             (newpath)
  75.          )
  76.       )
  77.  
  78.       (complete 85)
  79.  
  80.       (copyfiles
  81.          (prompt "Copy which CLI commands")
  82.          (help @copyfiles-help)
  83.          (source "C/")
  84.          (dest cmdstarget)
  85.          (choices "EmptyTrash" "Trash")
  86.          (confirm)
  87.       )
  88.    )
  89. )
  90.  
  91. (set icon (tackon target "AppTrashcan" ) )
  92.  
  93. (set ftpmountinstalled
  94.    (askbool
  95.       (prompt "Do you have FTPMount installed?" )
  96.       (help @askbool-help)
  97.       (default 0)
  98.    )
  99. )
  100.  
  101. (if ftpmountinstalled
  102.    (
  103.       (tooltype
  104.          (dest icon)
  105.          (settooltype "AVOID" "FTPMount:")
  106.       )
  107.    )
  108. )
  109.  
  110. (complete 100)
  111.